﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace SecurityLog.Models
{
    public class AdminUserEditModel
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Initials { get; set; }
        [DataType(DataType.Password)]
        public string Password { get; set; }
        public bool Enabled { get; set; }

        public bool CanDelete { get; set; }
    }

    public class AdminIndexModel
    {
        public IEnumerable<Models.User> EnabledUsers { get; set; }
        public IEnumerable<Models.User> DisabledUsers { get; set; }
    }
}